import Vue from 'vue'
import Router from 'vue-router'
// import Home from '@/pages/home/Home'
import Main from '@/pages/main/Main';
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Main',
      component: Main
    }//当用户访问/路径的时候,展示的是Main
  ]
})
